package nl.depository.pim.entities;

import javax.persistence.Id;

public class EditorText
{
	@Id
	private String id;
	
	private EditorType editorType = EditorType.CODE;
	
	private String contents;
	
	public String getId()
	{
		return id;
	}
	
	public EditorType getEditorType()
	{
		return editorType;
	}

	public void setEditorType(EditorType editorType)
	{
		this.editorType = editorType;
	}

	public String getContents()
	{
		return contents;
	}

	public void setContents(String contents)
	{
		this.contents = contents;
	}

	public enum EditorType
	{
		PLAIN, CODE, WYSIWYG;
	}
}
